﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Coevery.AppFramework.Parts
{
    public interface IPartBuilder<in T>
    {
        object Build(T part);
        void Init(T part,object item);
    }

    public abstract class AbstractPartBuilder<T> : IPartBuilder<T>
    {
        public abstract object Build(T part);

        public virtual void Init(T part, object item)
        {
        }
    }
}
